package com.wanxi.loopwhile;

public class RunCircle {
    public static void main(String[] args) {
//        for (int i = 1; i <= 4; i++) {
//            System.out.println("跑圈");
//        }
        /*
        1.初始化
        2.条件判断
        3.条件控制语句
        4.循环体
         */
        int i = 1;
        while (i <= 4) {
            System.out.println("跑第" + i + "圈");
            i++;
        }
        System.out.println(i);
    }
}
